#/*
#	/******************************************************************************
#   * This file is part of xn5106 platform,
#	* Copyright (c) 2009 HangZhou InfoStrong CO.,LTD. All rights reserved.
#   * This software may only be used under the terms of a valid, current,
#	* end user license from InfoStrong.
#	* Nothing else gives you the right to use this software.
#	*
#	* Name:   option.h
#	* Desc:   System option configuraton file
#	* Author: Jerry
#	* Date:   2011-12-09
#	* Note:
#   * History:
#	*
#	******************************************************************************/

##################################################################################
#                    Single Lamp controller PCB VERSION v1.0
##################################################################################
ifeq ($(BOARD_ID), SLC_PCB_14_P04_02_V10)
CFG_CHIP_ID = XN5106C
# External WDT Flag
CFG_EXT_WDT_FLG = TRUE
# Simulator-UART Flag
#CFG_SIMU_UART_FLG = TRUE
CFG_SIMU_UART_FLG = FALSE
# symbol-rate 2.4kbps 
CFG_SYM2400_FLG = TRUE
# Relay Off flg
CFG_RELAY_OFF_FLG = FALSE
# External Flash
CFG_EXT_FLASH_FLG = TRUE
# PCB hardware version
CFG_HW_VER =\""14_P04_02_V1.0 2014-6-13"\"
# Lamp Ctrl Type
CFG_LCT_TYPE_S_FLG = TRUE
CFG_LCT_TYPE_D_FLG = FALSE
CFG_LCT_TYPE_F_FLG = FALSE
endif

##################################################################################
#                    Single Lamp controller PCB VERSION v1.3
##################################################################################
ifeq ($(BOARD_ID), SLC_PCB_14_P04_02_V13)
CFG_CHIP_ID = XN5106C
# External WDT Flag
CFG_EXT_WDT_FLG = TRUE
# Simulator-UART Flag
#CFG_SIMU_UART_FLG = TRUE
CFG_SIMU_UART_FLG = FALSE
# symbol-rate 2.4kbps 
CFG_SYM2400_FLG = TRUE
# Relay Off flg
CFG_RELAY_OFF_FLG = FALSE
# External Flash
CFG_EXT_FLASH_FLG = TRUE
# PCB hardware version
CFG_HW_VER =\""14_P04_02_V1.3 2015-01-26"\"
# Lamp Ctrl Type
CFG_LCT_TYPE_S_FLG = TRUE
CFG_LCT_TYPE_D_FLG = FALSE
CFG_LCT_TYPE_F_FLG = FALSE
endif

##################################################################################
#                    Double Lamp controller
##################################################################################
ifeq ($(BOARD_ID), DLC_PCB_14_P04_07_V11)
CFG_CHIP_ID = XN5106C
# External WDT Flag
CFG_EXT_WDT_FLG = TRUE
# Simulator-UART Flag
#CFG_SIMU_UART_FLG = TRUE
CFG_SIMU_UART_FLG = FALSE
# symbol-rate 2.4kbps 
CFG_SYM2400_FLG = TRUE
# Relay Off flg
CFG_RELAY_OFF_FLG = FALSE
# External Flash
CFG_EXT_FLASH_FLG = TRUE
# PCB hardware version
CFG_HW_VER =\""14_P04_07_V1.1 2014-11-18"\"
# Lamp Ctrl Type
CFG_LCT_TYPE_S_FLG = FALSE
CFG_LCT_TYPE_D_FLG = TRUE
CFG_LCT_TYPE_F_FLG = FALSE
endif

##################################################################################
#                    Double Lamp controller
##################################################################################
ifeq ($(BOARD_ID), DLC_PCB_14_P04_07_V12)
CFG_CHIP_ID = XN5106C
# External WDT Flag
CFG_EXT_WDT_FLG = TRUE
# Simulator-UART Flag
#CFG_SIMU_UART_FLG = TRUE
CFG_SIMU_UART_FLG = FALSE
# symbol-rate 2.4kbps 
CFG_SYM2400_FLG = TRUE
# Relay Off flg
CFG_RELAY_OFF_FLG = FALSE
# External Flash
CFG_EXT_FLASH_FLG = TRUE
# PCB hardware version
CFG_HW_VER =\""14_P04_07_V1.2 2015-03-31"\"
# Lamp Ctrl Type
CFG_LCT_TYPE_S_FLG = FALSE
CFG_LCT_TYPE_D_FLG = TRUE
CFG_LCT_TYPE_F_FLG = FALSE
endif
##################################################################################
#                    Four Lamp controller
##################################################################################
ifeq ($(BOARD_ID), FLC_PCB_14_P04_08_V10)
CFG_CHIP_ID = XN5106C
# External WDT Flag
CFG_EXT_WDT_FLG = TRUE
# Simulator-UART Flag
#CFG_SIMU_UART_FLG = TRUE
CFG_SIMU_UART_FLG = FALSE
# symbol-rate 2.4kbps 
CFG_SYM2400_FLG = TRUE
# Relay Off flg
CFG_RELAY_OFF_FLG = FALSE
# External Flash
CFG_EXT_FLASH_FLG = TRUE
# PCB hardware version
CFG_HW_VER =\""14_P04_08_V1.0 2014-09-28"\"
# Lamp Ctrl Type
CFG_LCT_TYPE_S_FLG = FALSE
CFG_LCT_TYPE_D_FLG = FALSE
CFG_LCT_TYPE_F_FLG = TRUE
endif
##################################################################################
#                    Double Lamp controller 
##################################################################################
ifeq ($(BOARD_ID), DLC_PCB_16_P06_01_V10)
CFG_CHIP_ID = XN5106C
# External WDT Flag
CFG_EXT_WDT_FLG = TRUE
# Simulator-UART Flag
#CFG_SIMU_UART_FLG = TRUE
CFG_SIMU_UART_FLG = FALSE
# symbol-rate 2.4kbps 
CFG_SYM2400_FLG = TRUE
# Relay Off flg
CFG_RELAY_OFF_FLG = FALSE
# External Flash
CFG_EXT_FLASH_FLG = TRUE
# PCB hardware version
CFG_HW_VER =\""16_P06_01_V1.0 2016-01-27"\"
# Lamp Ctrl Type
CFG_LCT_TYPE_S_FLG = FALSE
CFG_LCT_TYPE_D_FLG = TRUE
CFG_LCT_TYPE_F_FLG = FALSE
endif
##################################################################################
#                    Single Lamp controller PCB VERSION v1.4
##################################################################################
ifeq ($(BOARD_ID), SLC_PCB_16_P04_30_V10)
CFG_CHIP_ID = XN5106C
# External WDT Flag
CFG_EXT_WDT_FLG = TRUE
# Simulator-UART Flag
#CFG_SIMU_UART_FLG = TRUE
CFG_SIMU_UART_FLG = FALSE
# symbol-rate 2.4kbps 
CFG_SYM2400_FLG = TRUE
# Relay Off flg
CFG_RELAY_OFF_FLG = FALSE
# External Flash
CFG_EXT_FLASH_FLG = TRUE
# PCB hardware version
CFG_HW_VER =\""16_P04_30_V1.0 2016-01-15"\"
# Lamp Ctrl Type
CFG_LCT_TYPE_S_FLG = TRUE
CFG_LCT_TYPE_D_FLG = FALSE
CFG_LCT_TYPE_F_FLG = FALSE
endif
